package edu.fiu.ann.utility;

/**
 * The Pair class contains the instances in pair relationship, 
 * i.e. the key/value pair.
 *
 * @author Yexi Jiang (http://users.cis.fiu.edu/~yjian004/)
 * @date 2011-4-4
 * @param <F>
 * @param <S>
 */
public class Pair<F, S> {
	protected F key;
	protected F value;
	
	public Pair(F key, F value) {
		super();
		this.key = key;
		this.value = value;
	}

	public F getKey() {
		return key;
	}

	public void setKey(F key) {
		this.key = key;
	}

	public F getValue() {
		return value;
	}

	public void setValue(F value) {
		this.value = value;
	}
	
}
